import js2py
import sys;
with open('rsejs.js','r') as f:
    source = f.read()
js = js2py.eval_js(source)
res = js.call('getPwd', sys.argv[1],sys.argv[2],sys.argv[3])
print(res)
